﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BusinessObjects.HumanResources;

namespace DataObjects.Interface.HumanResources
{
    public interface IDepartmentDao
    {
        List<Department> GetDepartments();
        List<Department> GetDepartmentsByBranch(string restaurantId);
        List<Department> GetDepartmentsActiveByBranch(bool isActive, string restaurantId);
        int GetCountDepartmentByParentId(string parentId);
        Department GetDepartment(string id);

        void InsertDepartment(Department department);
        void UpdateDepartment(Department department);
        void DeleteDepartment(Department department);
    }
}
